<?php
/**
 * Created by PhpStorm.
 * User: Soha_Ros
 * Date: 17/6/10
 * Time: 下午1:50
 */

namespace ActionsHttp;


use Data\Food_DAO;
use Data\Table_dining_DAO;

class TableGetList extends BaseActionHttp
{
    public function doAction() {

        parent::doAction();

        // 商铺id
        $restaurant_id = $_SESSION[RESTAURANT_ID];
        $restaurant_id = 1;

        // 获取桌子列表
        $this->setValue(Table_dining_list,Table_dining_DAO::getArrayByRestaurantId($restaurant_id));

        // 返回数据
        $this->ResponseDataToCurrentClient();

    }
}